/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 * @author lailiaidi
 * This class is to bundling Email Body for SMTP message
 */
public class MailMIMEHeader {
    //http://www.mindspring.com/~mgrand/mime.html

    private String obStrContentType;
    private String obStrMIMEVersion;
    private String obStrEncoding;

    public void setMIMEVersion(String obStrMIMEVersion) {
        this.obStrMIMEVersion = obStrMIMEVersion;
    }

    public void setContentType(String obStrContentType) {
        /*
        type/sub-type: example ("Content-Type: text/html; charset=us-ascii");
         * Text/Plain OR Richtext
         * Multipart/Mixed OR Alternative OR Parallel OR Parallel
         * Application
         * Message/RFC822 OR Partial
         * Image/Jpeg OR Gif
         * Audio/Basic
         * Video/Mpeg
         */
        this.obStrContentType = obStrContentType;
    }

    public void setEncoding(String obStrEncoding) {
        /*
        example ("Content-Transfer-Encoding: ")
         * BASE64
         * QUOTED-PRINTABLE
         * 8BIT
         * 7BIT
         * BINARY
         * x-EncodingName
         */
        this.obStrEncoding = obStrEncoding;
    }

    public String getMIMEVersion() {
        return obStrMIMEVersion;
    }

    public String getContentType() {
        return obStrContentType;
    }

    public String getEncoding() {
        return obStrEncoding;
    }
}
